html {
  overflow-x: hidden;
}
body {
  background: rgba(0, 0, 0, 0) url("images/bg.png") repeat scroll 0 0;
  color: #555;
  font-family: "Microsoft Yahei","微软雅黑",Tahoma,Arial,Helvetica,STHeiti;
  font-size: 14px;
  line-height: 180%;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  color: #252525;
}
code {
  color: #b94a48;
  font-family: Menlo,Monaco,Consolas,"Courier New",monospace,"Microsoft Yahei","微软雅黑";
  padding: 4px;
}
a {
  color: #252525;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}
a:hover {
  color: #1595ff;
}
a:active {
  color: #0070cc;
}
img {
  border: 0 none;
}
input, textarea {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: #f0f0f0 none repeat scroll 0 0;
  border-color: #ccc #ccc #bbb;
  border-image: none;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 2px #aaa;
  color: #666;
  font-family: "Microsoft Yahei","微软雅黑",Tahoma,Arial,Helvetica,STHeiti;
  font-size: 14px;
  outline: medium none;
  padding: 5px;
}
input:focus, textarea:focus {
  background: #f3f3f3 none repeat scroll 0 0;
  box-shadow: 0 1px 5px #aaa;
}
input[type="submit"]:active {
  background: #ccc none repeat scroll 0 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  clear: both;
}
#wrap {
  background: #e9e9e9 none repeat scroll 0 0;
  box-shadow: 0 0 20px #000;
  margin-left: 250px;
  padding: 5px 5px 60px;
}
#header {
  background: rgba(0, 0, 0, 0) url("images/bg.png") repeat scroll 0 0;
  margin-left: 250px;
  padding: 0 25px;
  position: relative;
  width: 90%;
}
#header #searchform #q{
  background: rgba(150, 150, 150, 0.1) url("images/icons.png") no-repeat scroll 0 0;
  border: 2px solid #bbb;
  border-radius: 26px;
  cursor: pointer;
  float: left;
  font-size: 30px;
  height: 40px;
  margin: 15px 15px 15px 0;
  padding-left: 45px;
  transition: width 0.3s ease 0s;
  width: 0;
}
#header #searchform #q:hover {
  background-color: rgba(150, 150, 150, 0.3);
  border-color: #999;
  box-shadow: 0 1px 5px #888;
}
#header #searchform #q:focus {
  background-color: rgba(150, 150, 150, 0.1);
  cursor: auto;
  width: 40%;
}
#header #searchform .admin {
  background-position: 0 -50px;
}
#header #searchform .rss {
  background-position: 0 -100px;
}
#header #searchform .weibo {
  background-position: 0 -150px;
}
#header #searchform a {
  background: rgba(150, 150, 150, 0.1) url("images/icons.png") no-repeat scroll 0 0;
  border: 2px solid #bbb;
  border-radius: 26px;
  box-shadow: 0 1px 2px #aaa;
  color: #888;
  float: left;
  height: 50px;
  line-height: 50px;
  margin: 15px 15px 15px 0;
  overflow: hidden;
  text-align: center;
  text-indent: -99em;
  transition: none 0s ease 0s ;
  width: 50px;
}
#header #searchform a:hover {
  background-color: rgba(100, 100, 100, 0.3);
  border-color: #999;
  box-shadow: 0 1px 5px #888;
}
#header #searchform a:active {
  background-color: rgba(150, 150, 150, 0.1);
  border-color: #eee;
}
#tool {
position: absolute; z-index: 3; right: 30px; top: 0px; cursor: pointer;
}
.rightbar {
  left: 1100px;
  position: absolute;
  top: 0;
}
.right {
  background: #f8f8f8 none repeat scroll 0 0;
  border: 1px solid #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px #888;
  margin: 20px 0;
  padding: 10px 20px;
  width: 180px;
}
.right:hover {
  border: 1px solid #a8a8a8;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.right h4 {
  margin: 5px 0;
}
.right ul {
  padding-left: 3px;
}
.right ul li{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tbCalendar th {
  padding: 0 6px;
}
#sidebar {
  bottom: 0;
  left: 0;
  position: fixed;
  text-align: right;
  top: 0;
  width: 250px;
}
#sidebar a {
  color: #999;
}
#sidebar h1 {
  font-size: 2em;
  padding: 20px 0;
  text-align: center;
}
#sidebar h1 a {
  color: #ccc;
  padding: 20px;
  text-shadow: 0 0 1px #000;
}
#sidebar h1 a:hover {
  color: #eee;
}
#sidebar h1 a:active {
  color: #aaa;
}
#sidebar .menu {
  border-bottom: 1px solid #333;
  border-top: 1px solid #111;
  margin: 0;
  padding: 0;
}
#sidebar .menu .current {
  background: rgba(0, 0, 0, 0.25) none repeat scroll 0 0;
}
#sidebar .menu ul {
  margin: 0;
  padding: 0;
}
#sidebar .menu li {
  list-style: outside none none;
}
#sidebar .menu li a {
  border-bottom: 1px solid #111;
  border-top: 1px solid #333;
  display: block;
  padding: 12px 30px;
}
#sidebar .menu li a:hover {
  background: rgba(0, 0, 0, 0.15) none repeat scroll 0 0;
  color: #1595ff;
}
#sidebar .menu li a:active {
  background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
  color: #0070cc;
}
#sidebar .menu li ul {
  display: none;
}
#container {
  clear: both;
  max-width: 800px;
  padding: 0 20px;
}
.post {
  background: #f8f8f8 none repeat scroll 0 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin: 20px 0 35px;
  padding: 10px 20px;
  position: relative;
}
.post:hover {
  border: 1px solid #a8a8a8;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.post:hover::before {
  border-color: #a8a8a8 transparent transparent #a8a8a8;
}
.post::before {
  border-color: #ccc transparent transparent #ccc;
  border-style: solid dashed dashed solid;
  border-width: 11px;
  bottom: -22px;
  content: "";
  left: 30px;
  position: absolute;
}
.post::after {
  border-color: #f8f8f8 transparent transparent #f8f8f8;
  border-style: solid dashed dashed solid;
  border-width: 10px;
  bottom: -20px;
  content: "";
  left: 31px;
  position: absolute;
}
.post .title {
  border-left: 5px solid #0070cc;
  border-radius: 5px;
  font-size: 12px;
  margin: 10px 0;
  padding: 0 10px 5px;
}
.post .title img {
  border-radius: 4px;
  box-shadow: 1px 1px 1px #999;
  float: left;
  height: 48px;
  margin-right: 8px;
  width: 48px;
}
.post .entry {
  overflow: hidden;
}
.post .entry p {
  text-indent: 2em;
}
.post .entry em {
  color: #000;
  padding: 0 5px;
}
.post .entry pre ol {
  margin: 0;
}
.post .entry blockquote {
  background: #f2f2f2 none repeat scroll 0 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin: 10px 0 20px;
  padding: 10px 20px;
  position: relative;
  word-break: break-all;
}
.post .entry blockquote::before {
  border-color: #ccc transparent transparent #ccc;
  border-style: solid dashed dashed solid;
  border-width: 11px;
  bottom: -22px;
  content: "";
  left: 30px;
  position: absolute;
}
.post .entry blockquote::after {
  border-color: #f2f2f2 transparent transparent #f2f2f2;
  border-style: solid dashed dashed solid;
  border-width: 10px;
  bottom: -20px;
  content: "";
  left: 31px;
  position: absolute;
}
.post .entry table {
  border-collapse: collapse;
  margin: 10px 0;
  width: 100%;
}
.post .entry table thead td {
  background-color: #eee;
  font-weight: bold;
}
.post .entry table td, .post .entry table th {
  border: 1px solid #aaa;
  padding: 2px 5px;
}
.post .entry img {
  height: auto;
  max-width: 100%;
}
.post .entry .alignleft {
  float: left;
  margin: 8px 8px 8px 0;
}
.post .entry .alignright {
  float: right;
  margin: 8px 0 8px 8px;
}
.post .entry .more-link {
  line-height: 230%;
  margin-top: 10px;
}
.post strong {
  color: #252525;
}
.post .pager {
  border-top: 1px solid #ddd;
  margin-top: 6px;
  padding: 3px 0;
}
.divComment.post {
  padding: 10px 15px;
}
.msgavatar {
  padding-right: 10px;
}
.msgavatar .avatar {
  border-radius: 5px;
  box-shadow: 1px 1px 4px #aaa;
}
.respond label {
  display: inline-block;
  padding: 5px;
}
.respond textarea {
  width: 98%;
}
.respond #submit {
  min-width: 80px;
  width: 80px;
}
.navigation {
  margin-bottom: 15px;
}
.navigation a, .navigation .now-page {
  border: 0 none !important;
  border-radius: 5px;
  display: inline-block;
  min-width: 15px;
  padding: 3px 5px;
  text-align: center;
}
.navigation .now-page {
  background: #ccc none repeat scroll 0 0;
}
.navigation a:hover {
  background: #aaa none repeat scroll 0 0;
}
.navigation a:active {
  background: #888 none repeat scroll 0 0;
}
#footer {
  bottom: 0;
  left: 0;
  padding: 5px 0;
  position: absolute;
  text-align: center;
  width: 100%;
}
